<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="referrer" content="never">
    <title>homework</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        ul {
            list-style: none;
        }
    </style>
</head>
<body>
    
    <script src="../lib/data/data.js"></script>
    <script type="text/javascript">
        console.log(data);
        for(var i = 0; i < data.course.length; i ++){
            console.log(data.course[i].cname);
            for(var j = 0; j < data.course[i].details.length; j ++){
                var detail = data.course[i].details[j];
                console.log(detail);
                for(var k = 0; k < detail.pcontent.length; k ++){

                }
            }
        }
    </script>
</body>
</html>